package com.etime.mapper;

import com.etime.pojo.User;

import java.util.List;

public interface UserMapper {
    List<User> getAllUser();
    User login(User user);
    List<User> getUserByName(String user_name);
    User getUserById(Integer user_id);

    int register(User user);

    User userLogin(User user);

    int updateUser(User user);
}
